package main

import "fmt"

var x1 int = 100

func main() {
	x := x1
	if x := 20; x > 10 {
		x := x
		fmt.Println(x) //20，if里面也是块级作用域
	}
	fmt.Println(x) //100
}
